From: Cosimo Cecchi Date: Wed, 20 Jun 2012 20:12:40 +0000 (-0400) Subject: mount-operation: don't use global.get_current_time() X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~6445 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5b7e4bb4a7afccbd7740d929e21126e5add20c8a;p=gnome-shell.git mount-operation: don't use global.get_current_time() If we don't specify it, it will be picked up by default. https://bugzilla.gnome.org/show_bug.cgi?id=674962 --- diff --git a/js/ui/shellMountOperation.js b/js/ui/shellMountOperation.js index 805ce6043..11cc613c1 100644 --- a/js/ui/shellMountOperation.js +++ b/js/ui/shellMountOperation.js @@ -124,7 +124,7 @@ const ShellMountOperation = new Lang.Class({ if (!this._existingDialog) return; - this._existingDialog.close(global.get_current_time()); + this._existingDialog.close(); this._existingDialog = null; }, @@ -141,7 +141,7 @@ const ShellMountOperation = new Lang.Class({ })); this._dialog.update(message, choices); - this._dialog.open(global.get_current_time()); + this._dialog.open(); }, _onAskPassword: function(op, message) { @@ -166,7 +166,7 @@ const ShellMountOperation = new Lang.Class({ this.mountOp.reply(Gio.MountOperationResult.HANDLED); } })); - this._dialog.open(global.get_current_time()); + this._dialog.open(); }, close: function(op) { @@ -174,7 +174,7 @@ const ShellMountOperation = new Lang.Class({ this._processesDialog = null; if (this._dialog) { - this._dialog.close(global.get_current_time()); + this._dialog.close(); this._dialog = null; } }, @@ -201,7 +201,7 @@ const ShellMountOperation = new Lang.Class({ this.close(); })); - this._processesDialog.open(global.get_current_time()); + this._processesDialog.open(); } this._processesDialog.update(message, processes, choices);